/* 头开始 */
header{
    width: 100%;
    background-color: #000;
}
.wrapper{
    width: 1080px;
    margin: 0 auto;
}
.header{
    height: 70px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .logo{
    width: 177px;
    height: 69px;
    background:url(../img/topbar.png);
}
.header>ul{
    width: 508px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header>ul>li>a{
    color: #fff;
    font-size: 14px;
}
.header>div:nth-of-type(2){
    margin-left:15px;
    position: relative;
}
.header>div:nth-of-type(2)>ul{ /*下拉框 */
    width: 173px;
    height: 200px;
    background-color: #fff;
    position: absolute;
    color:#000;
    top: 25px;
    left: 0px;
    z-index: 99;
    display: none;
}
#content1{
    width: 400px;
    height: 300px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -150px;
    z-index: 999;
}
#header1{
    width: 400px;
    height: 50px;
    background-color: #000;
    cursor: pointer;
}
/* 导航开始 */
nav{
    width: 100%;
    height: 35px;
    background-color: #C20C0C;
}
nav>.nav{
    position: relative;
}

nav>.nav>div{       /*三角形 */
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #000;
    position: absolute;
    top: 0;
    left: 260px;
    
}
nav>.nav>ul{
    margin-left: 270px;
    width: 508px;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav>.nav>ul>li.active{
    font:12px/20px "";
    width: 50px;
    height: 20px;
    border-radius: 10px;
    background-color: #9B0909;
    text-align: center;
}
/* banner开始 */
section{
    width: 100%;
    height: 420px;
    background-color:#000;
}
section>.banner{
    position: relative;
}
section>.banner>img{
    position: relative;
	left: 50%;
    margin-left:-540px;
}
section>.banner>div{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    font: 12px/50px "";
    text-align: center;
}

section>.banner>div:nth-of-type(1){
    position: absolute;
    top: 185px;
    left: -60px;
    cursor: pointer;
}
section>.banner>div:nth-of-type(2){
    position: absolute;
    top: 185px;
    right:-60px;
    cursor: pointer;
}
section>.banner>ul{    /*圆点 */
    width: 100px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 15px;
    left:450px;
}
section>.banner>ul>li{
    width: 8px;
    height:8px;
    border-radius: 50%;
    background-color: #fff;
}
section>.banner>ul>li:hover{
    background-color: red;
}
/* 主题内容 */
#main>.main{
    height: 1000px;
    display: flex;
    justify-content: space-between;
    position: relative
}
 #main>.main>h1{     /*回到顶部 */
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #eee;
    border: 1px solid red;
    bottom: 100px;
    right: -60px;
    font: 14px/50px "";
    text-align: center;
    margin-bottom: 100px;
}
#main>.main>article{
    width: 800px;
    height: 1000px;
    background-color: #eee;
}
#main>.main>article>div:first-of-type{
    float: left;
    margin:100px 0 0 50px;
}
#main>.main>article>div:first-of-type>img{
    border: 50px solid black;
    border-radius: 50%;
}
#main>.main>article>div:last-of-type{
    float: left;
    margin:100px 0 0 50px;
}
#main>.main>article>div:last-of-type>p:nth-of-type(1){
    font: 900 24px/30px "";
    margin-bottom:10px;
}
#main>.main>article>div:last-of-type>p:nth-of-type(2){
    font:18px/30px "";
    margin-bottom:10px;
}
#main>.main>article>div:last-of-type>p:nth-of-type(2)>span{
    font:16px/30px "";
    color:blue
}
#main>.main>article>div:last-of-type>button{
    width: 60px;
    height: 40px;
    margin-top: 20px;
    display:block;
}
#main>.main>aside{
    width: 278px;
    height: 1000px;
    background-color: #000;
    color: #fff;
}
/* 浮动控制 */
#controlTuo{
    width: 100%;
    height: 60px;
    background-color:#9B0909;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
}
#controlTuo>.controlTuo>div{
    width: 400px;
    height: 10px;
    border-radius: 5px;
    background-color: #000;
    margin-left: 200px;
    position: relative;
}
#controlTuo>.controlTuo>div>i{
    display: block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 0px;
    top: -5px;
}

